package com.mingqijia.gassafety.webserver.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author zhangfei
 * @version 1.0.0
 * @ClassName NewAsstCreateRequest.java
 * @Description TODO
 * @createTime 2023年10月20日
 */
@Data
public class NewAsstCreateRequest {
    //燃气户号、IMEI、工单编号、销售单ID、联系人、联系电话
    @ApiModelProperty(value = "燃气户号")
    @NotEmpty(message = "燃气户号")
    private String subsCode;

    @ApiModelProperty(value = "联系电话")
    private String phone;

    @ApiModelProperty(value = "备用手机号")
    private String sparePhone;

    @ApiModelProperty(value = "联系人")
    @NotEmpty(message = "联系人")
    private String name;


    @ApiModelProperty(value = "imei")
    @NotEmpty(message = "imei不能为空")
    private String imei;

    @ApiModelProperty(value = "工单编号")
    @NotEmpty(message = "工单编号不能为空")
    private String orderNo;

    @ApiModelProperty(value = "销售单ID")
    @NotEmpty(message = "销售单id不能为空")
    private String pkid;

    @ApiModelProperty(value = "orgCode")
    @NotEmpty(message = "orgCode不能为空")
    private String orgCode;

    @ApiModelProperty(value = "操作类型，0 -安装,1-置换")
    private Integer type=0;

    @ApiModelProperty(value = "经度")
    private String positionLong;

    @ApiModelProperty(value = "纬度")
    private String positionLat;

}